package com.houdoudou.bean;

public class Order {

	long id=-1;
	int state=-1;   /*
		                   1 ，已激活	      
			               3. 过期不支付，自动取消
			               4. 消费者取消
			               5`，不需要送，商家拒绝订单
			               6，送达前同意退款
	        - `Order_State=10`，已支付      
			- `Order_State=11`，商家已确认（默认行为）	
			  `Order_State=12`，自提柜已确认（默认行为）
			- `Order_State=20`，商家已发货
			- `Order_State=21`，已送达自提柜
			- `Order_State=22`，消费者已取走
			- `Order_State=23`，商家已回收
			- `Order_State=24`，商家已丢弃
			           */
	int productNum=-1; //产品数量
	String secret="";
    
	
	
	int volume=-1; //总体积
	int boxVolume=-1; //箱格体积
	int boxNum=-1; //箱格数量
	int isBoxUsed=-1; //是否使用,1未 ，2已经
	String boxesIn=""; //放入箱格编号
	
	
	int machineID=-1; //自提柜
	String machineAddress=""; 
	String machineName="";
	
	String dateAA="";
	int timeFlag=-1;
	
	
	String customerTelnum=""; //消费者电话
	String ownerTelnum="";
	String supplierTelnum="";
	String supplierName="";
	String serviceTelnum="";
	
	String dateTimePL=""; //下单时间
	String dateTimePA=""; //支付时间
	String dateTimeAE=""; //最早送达时间
	String dateTimeAA=""; //约定送达时间
	String dateTimeAI=""; //实际送达时间
	String courierAITelnum=""; //送货员电话
	String dateTimeTK=""; //取走时间
	String dateTimeTL=""; //最迟取件时间
	String dateTimeRK=""; //取回时间
	String courierRKTelnum=""; //取回的送货员电话
	String dateTimeRL=""; //最晚取回时间
	String dateTimeAB=""; //抛弃订单时间
	String courierABTelnum=""; //抛弃快递员的电话
	String dateTimeRF=""; //拒绝订单时间
	
	String dateTimeRDL=""; //最迟申请退款时间
    int  isRefund=-1; //退款情况，1，无退款，2，有退款
	
    double boxFeeCu=-1; //商家收取的箱格费
	double moneyProduct=-1; //商品金额
	double moneyFreight=-1; //运费。
	double moneyCu=-1; //消费者支付的钱
	double boxFeeSu=-1; //业主收取的箱格费
	double rateSu=-1; //业主提成。
	double rateOw=-1; //公司提成
	double moneyCompany=-1; 
	double moneyOwner=-1;
	double moneySupplier=-1;
	int    isMoneyDealed=-1; //该订单是否结算。 1,未结算，2已结算
	int    isMoneyPaid=-1; //该订单是否支付 1,未支付，2已支付
	int   printTimes=-1;
	
	String note=""; //备注
	
	public Order() {
		
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public int getVolume() {
		return volume;
	}

	public void setVolume(int volume) {
		this.volume = volume;
	}

	public int getBoxNum() {
		return boxNum;
	}

	public void setBoxNum(int boxNum) {
		this.boxNum = boxNum;
	}

	
	public int getIsBoxUsed() {
		return isBoxUsed;
	}

	public void setIsBoxUsed(int isBoxUsed) {
		this.isBoxUsed = isBoxUsed;
	}

	public String getBoxesIn() {
		return boxesIn;
	}

	public void setBoxesIn(String boxesIn) {
		this.boxesIn = boxesIn;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	

	public int getBoxVolume() {
		return boxVolume;
	}

	public void setBoxVolume(int boxVolume) {
		this.boxVolume = boxVolume;
	}

	

	public int getMachineID() {
		return machineID;
	}

	public void setMachineID(int machineID) {
		this.machineID = machineID;
	}

	public String getMachineAddress() {
		return machineAddress;
	}

	public void setMachineAddress(String machineAddress) {
		this.machineAddress = machineAddress;
	}

	public String getMachineName() {
		return machineName;
	}

	public void setMachineName(String machineName) {
		this.machineName = machineName;
	}

	public String getCustomerTelnum() {
		return customerTelnum;
	}

	public void setCustomerTelnum(String customerTelnum) {
		this.customerTelnum = customerTelnum;
	}
	
	public String getOwnerTelnum() {
		return ownerTelnum;
	}

	public void setOwnerTelnum(String ownerTelnum) {
		this.ownerTelnum = ownerTelnum;
	}

	public String getSupplierTelnum() {
		return supplierTelnum;
	}

	public void setSupplierTelnum(String supplierTelnum) {
		this.supplierTelnum = supplierTelnum;
	}



	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getServiceTelnum() {
		return serviceTelnum;
	}

	public void setServiceTelnum(String serviceTelnum) {
		this.serviceTelnum = serviceTelnum;
	}

	public String getDateAA() {
		return dateAA;
	}

	public void setDateAA(String dateAA) {
		this.dateAA = dateAA;
	}

	public int getTimeFlag() {
		return timeFlag;
	}

	public void setTimeFlag(int timeFlag) {
		this.timeFlag = timeFlag;
	}

	public String getDateTimePL() {
		return dateTimePL;
	}

	public void setDateTimePL(String dateTimePL) {
		this.dateTimePL = dateTimePL;
	}

	public String getDateTimePA() {
		return dateTimePA;
	}

	public void setDateTimePA(String dateTimePA) {
		this.dateTimePA = dateTimePA;
	}

	public String getDateTimeAE() {
		return dateTimeAE;
	}

	public void setDateTimeAE(String dateTimeAE) {
		this.dateTimeAE = dateTimeAE;
	}

	public String getDateTimeAA() {
		return dateTimeAA;
	}

	public void setDateTimeAA(String dateTimeAA) {
		this.dateTimeAA = dateTimeAA;
	}

	public String getDateTimeAI() {
		return dateTimeAI;
	}

	public void setDateTimeAI(String dateTimeAI) {
		this.dateTimeAI = dateTimeAI;
	}

	
	public String getCourierAITelnum() {
		return courierAITelnum;
	}

	public void setCourierAITelnum(String courierAITelnum) {
		this.courierAITelnum = courierAITelnum;
	}

	public String getDateTimeTK() {
		return dateTimeTK;
	}

	public void setDateTimeTK(String dateTimeTK) {
		this.dateTimeTK = dateTimeTK;
	}

	public String getDateTimeTL() {
		return dateTimeTL;
	}

	public void setDateTimeTL(String dateTimeTL) {
		this.dateTimeTL = dateTimeTL;
	}

	
	public String getDateTimeRK() {
		return dateTimeRK;
	}

	public void setDateTimeRK(String dateTimeRK) {
		this.dateTimeRK = dateTimeRK;
	}

	public String getCourierRKTelnum() {
		return courierRKTelnum;
	}

	public void setCourierRKTelnum(String courierRKTelnum) {
		this.courierRKTelnum = courierRKTelnum;
	}

	public String getDateTimeRL() {
		return dateTimeRL;
	}

	public void setDateTimeRL(String dateTimeRL) {
		this.dateTimeRL = dateTimeRL;
	}

	public String getDateTimeAB() {
		return dateTimeAB;
	}

	public void setDateTimeAB(String dateTimeAB) {
		this.dateTimeAB = dateTimeAB;
	}


	public String getCourierABTelnum() {
		return courierABTelnum;
	}

	public void setCourierABTelnum(String courierABTelnum) {
		this.courierABTelnum = courierABTelnum;
	}

	public String getDateTimeRF() {
		return dateTimeRF;
	}

	public void setDateTimeRF(String dateTimeRF) {
		this.dateTimeRF = dateTimeRF;
	}

	public String getDateTimeRDL() {
		return dateTimeRDL;
	}

	public void setDateTimeRDL(String dateTimeRDL) {
		this.dateTimeRDL = dateTimeRDL;
	}

	public int getIsRefund() {
		return isRefund;
	}

	public void setIsRefund(int isRefund) {
		this.isRefund = isRefund;
	}

	public double getBoxFeeCu() {
		return boxFeeCu;
	}

	public void setBoxFeeCu(double boxFeeCu) {
		this.boxFeeCu = boxFeeCu;
	}

	public double getMoneyProduct() {
		return moneyProduct;
	}

	public void setMoneyProduct(double moneyProduct) {
		this.moneyProduct = moneyProduct;
	}

	public double getMoneyFreight() {
		return moneyFreight;
	}

	public void setMoneyFreight(double moneyFreight) {
		this.moneyFreight = moneyFreight;
	}
	
	public double getMoneyCu() {
		return moneyCu;
	}

	public void setMoneyCu(double moneyCu) {
		this.moneyCu = moneyCu;
	}

	public double getBoxFeeSu() {
		return boxFeeSu;
	}

	public void setBoxFeeSu(double boxFeeSu) {
		this.boxFeeSu = boxFeeSu;
	}

	public double getRateSu() {
		return rateSu;
	}

	public void setRateSu(double rateSu) {
		this.rateSu = rateSu;
	}

	public double getRateOw() {
		return rateOw;
	}

	public void setRateOw(double rateOw) {
		this.rateOw = rateOw;
	}

	public double getMoneyCompany() {
		return moneyCompany;
	}

	public void setMoneyCompany(double moneyCompany) {
		this.moneyCompany = moneyCompany;
	}

	public double getMoneyOwner() {
		return moneyOwner;
	}

	public void setMoneyOwner(double moneyOwner) {
		this.moneyOwner = moneyOwner;
	}

	public double getMoneySupplier() {
		return moneySupplier;
	}

	public void setMoneySupplier(double moneySupplier) {
		this.moneySupplier = moneySupplier;
	}

	public int getIsMoneyDealed() {
		return isMoneyDealed;
	}

	public void setIsMoneyDealed(int isMoneyDealed) {
		this.isMoneyDealed = isMoneyDealed;
	}

	public int getIsMoneyPaid() {
		return isMoneyPaid;
	}

	public void setIsMoneyPaid(int isMoneyPaid) {
		this.isMoneyPaid = isMoneyPaid;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getPrintTimes() {
		return printTimes;
	}

	public void setPrintTimes(int printTimes) {
		this.printTimes = printTimes;
	}

	
	
	

}
